package cn.edu.neusoft.demo.hospital2.pojo;

public class Notice {
    private Integer id;
    private String title;
    private String content;
    private String img;
    private String day;        // 数据库字段为day，保持属性名一致
    private String author;

    public Notice() {}

    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    public String getContent() { return content; }
    public void setContent(String content) { this.content = content; }
    public String getImg() { return img; }
    public void setImg(String img) { this.img = img; }
    public String getDay() { return day; }
    public void setDay(String day) { this.day = day; }  // 修正setter方法名
    public String getAuthor() { return author; }
    public void setAuthor(String author) { this.author = author; }
}